package com.nuoniu.sibanyun.entity.work;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 计划内容
 * </p>
 *
 * @author baiqiang
 * @since 2020-08-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("oa_workplan_content")
@ApiModel(value="WorkPlanContent对象", description="计划内容")
public class WorkPlanContent extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "计划id")
    @TableField("plan_id")
    private Integer planId;

    @ApiModelProperty(value = "内容")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "状态0:未完成 1:已完成")
    @TableField("status")
    private String status;

    @ApiModelProperty(value = "未完成原因")
    @TableField("cause")
    private String cause;

    @ApiModelProperty(value = "备注")
    @TableField("remarks")
    private String remarks;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_date")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "创建人")
    @TableField("create_user_id")
    private Integer createUserId;

    @TableField(exist = false)
    private Integer key;
}
